//XJOI 1191
#include<bits/stdc++.h>
using namespace std;
int main(){
    int a, b;
    while(scanf("%d%d", &a, &b) == 2){
        printf("%d\n", a + b);
    }
    return 0;
}